package com.termine.jsf;

import java.io.Serializable;

import javax.faces.bean.ManagedBean;

import com.termine.bean.Bean;

@ManagedBean
public class MenuJSF extends Bean implements Serializable {

	private static final long serialVersionUID = -692768916672984259L;
	
	public String gotoAppointment() {
		return "SUCCESS";
	}
	
	public String switchToClientPerspective() {
		getLoginJSF().setWhoAmI("CLIENT");
		return "SUCCESS";
	}
	
	public String switchToProviderPerspective() {
		getLoginJSF().setWhoAmI("PROVIDER");
		return "SUCCESS";
	}
	
	public String gotoClientCalendar() {
		return "SUCCESS";
	}
	
	public String gotoProviderCalendar() {
		return "SUCCESS";
	}
	
	public String gotoServiceOverview() {
		return "SUCCESS";
	}
	
	public String gotoAvailabilityOverview() {
		return "SUCCESS";
	}
	
	public String gotoPersonalData() {
		return "SUCCESS";
	}
}
